#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
@Project ：back 
@File    ：train_proto.py
@IDE     ：PyCharm 
@Author  ：七分是你
@Date    ：2024/8/12 下午6:12 
@explain : 
"""
from typing import Optional

from pydantic import BaseModel, Field


class TrainInputData(BaseModel):
    id: Optional[int] = Field(default=None, description="ID", examples=["1"])
    title: Optional[str] = Field(default=None, description="attach", examples=["test"])
    video: Optional[str] = Field(default=None, description="attach", examples=["test"])
    addtime: Optional[int] = Field(default=None, description="addtime", examples=["1"])
